/**
 * @file GetMultimediaMessageProtocolMessage.cs
 * @author Zane Mayo
 * @date 20/5/2009
 */

using System;

namespace MxitAPI {
	
	
	public class GetMultimediaMessageProtocolMessage : ProtocolMessage {
		
		private static log4net.ILog log = log4net.LogManager.GetLogger( System.Reflection.MethodBase.GetCurrentMethod().DeclaringType );
		
		public string RequestChunk { get; set; }
		
		public string ResponseChunk { get; set; }
		
		public GetMultimediaMessageProtocolMessage() : base( ProtocolMessageType.GetMultimediaMessage ) {
		}
		
		public override void SetResponse (string[][] response) {
			base.SetResponse (response);

			ResponseChunk = response[2][0];
			log.DebugFormat( "Response Chunk Recieved [{0}] ", ResponseChunk.Replace( '\u0000', '-') );
			
		}

		
		
	}
}
